﻿using RabbitMQ.GNClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Tasks.Queue
{
    /// <summary>
    /// 队列工厂
    /// </summary>
    public static class QueueFactory
    {
        /// <summary>
        /// 队列工厂
        /// </summary>
        /// <returns></returns>
        public static IMQConnection CreateConnection()
        {
            return MQConnectionFactory.CreateConnection("RabbitMQ_Server");
        }
    }
}
